projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce0625
)
(send_process): Use encode_coding_object instead of
author
Kenichi Handa
<handa@m17n.org>
Thu, 27 Aug 2009 11:12:54 +0000
(11:12 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 27 Aug 2009 11:12:54 +0000
(11:12 +0000)
encode_coding_string to perform eol-conversion even if the string
is unibyte.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 86cc5b0c4b473d61b0fc67989f41899c67625215..77ca2551e46b6259b299be603ac0775c55943424 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-5721,7
+5721,8
@@
send_process (proc, buf, len, object)
}
else if (STRINGP (object))
{
- encode_coding_string (coding, object, 1);
+ encode_coding_object (coding, object, 0, 0, SCHARS (object),
+ SBYTES (object), Qt);
}
else
{